<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
</head>
<body>
<form action="update" method="post" enctype="multipart/form-data">
    <table style="width:480px;height:
130px;border-collapse: collapse;margin: 20px auto;">
        <tr>
            <td><input hidden="text" name="gid"
                       value="{$info['gid']}" /></td>
        </tr>
        <tr>
            <td>商品名：</td>
            <td><input type="text" name="gname"
                       value="{$info['gname']}"/></td>
        </tr>
        <tr>
            <td>修改图片：</td>
            <td><img width="100" src="http://localhost/task_3/www.jsdaima.com/ThinkPHP_V5.1.39/uploads/{$info['imgpath']}" /><input type="file" name="img" /></td>
        </tr>
        <tr>
            <td colspan="2"><input type="submit" value="提
交" /> <a href="http://localhost/task_3/www.jsdaima.com/ThinkPHP_V5.1.39/public/index.php/index/index/lst">返回列表</a></td>
        </tr>
    </table>
</form>
</body>
</html>